all_source_recurse(CC_SOURCES)

link_libraries(boost openssl smtp)
add_library(tools
    STATIC  
    ${CC_SOURCES}
)

target_include_directories(tools
    PUBLIC
    ${CMAKE_CURRENT_SOURCE_DIR}/
)

set_property(TARGET tools PROPERTY
  MSVC_RUNTIME_LIBRARY "MultiThreadedDebugDLL$<$<CONFIG:Debug>:Debug>")

